namespace Hygeia.Server.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class UV_SYS_USER
    {
        [Key]
        [Column(Order = 0)]
        public decimal KEYID { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(50)]
        public string USERNAME { get; set; }

        public Guid? USERGUID { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(50)]
        public string ACCOUNT { get; set; }

        public decimal? USERTYPE { get; set; }

        public DateTime? ADDDATE { get; set; }

        public decimal? SEX { get; set; }

        public decimal? ORGID { get; set; }

        [StringLength(50)]
        public string ORGNAME { get; set; }

        public Guid? ORGGUID { get; set; }

        [StringLength(50)]
        public string MOBILEPHONE { get; set; }

        public decimal? SORTINDEX { get; set; }

        [StringLength(50)]
        public string ROLENAME { get; set; }
    }
}
